<template>
	<view>
		<navbar :title="title" :back="true" color="#fff" leftIconColor="#fff"/>
		<view style="padding-left: 20rpx;padding-right: 20rpx;">
			<u-parse class="" :content="info" :domain="domain"></u-parse>
		</view>

	</view>
</template>

<script>
	import navbar from '@/components/baseNavbar.vue'
	import {
		getConfig,
	} from "@/api/public.js"
	import {
		STATIC_URL
	} from '@/config/app';
	export default {
		components: {
			navbar
		},
		data() {
			return {
				info: '',
				domain: '',
				title: '查看'
			}
		},
		onShow() {

		},
		onLoad(option) {
			this.domain = STATIC_URL;
			if (option.name) {
				getConfig(option.name).then(res => {
					this.info = res.data.value
				})
			}
			if (option.title) {
				this.title = option.title
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.item {
		font-size: 36rpx;
		font-weight: 550;
	}

	.time {
		color: #999999;
		line-height: 100rpx;
	}

	.msg {
		padding: 10rpx 20rpx;
		background-color: #f6f6f6;


	}
</style>
